What's wrong with:

def project_to_distance(point_x, point_y, distance):

```
dist_to_origin = math.square_root(point_x ** 2 + point_y ** 2)
scale = distance / dist_to_origin
temp1= point_x * scale
temp2= point_y * scale
```

print temp1, temp2

print project_to_distance(2, 7, 4)