I am not going to do this problem for you, but I will tell you how to do it.

You must first find the equation of the line joining the 2 given points.

You also need the distance between the two given points.

The endpoint will satisfy the equation of the line and be at an equal distance from the midpoint.

I warn you that the arithmetic is messy!