We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

But some hints:

This is basic geometry: Pythagoras in fact:

The horizontal distance X is the absolute value of the different between x1 and x2, and the vertical Y is similarly y2 and y1.

The length of the line between them is Z = Root(Square(X) + Square(Y)), so all you have to do is extend that line to the the distance you want and scale X and Y appropriately. You can then add the scaled X and Y values onto the (x1, y1) point and you are done.

12,554,442 members (82,863 online)

Email

Password

Sign in using