# Calculate point on hypotenuse of right-angled triangle

Sorry if this is a little basic, but my math is pretty rusty. I know the point coordinates of the two blue dots. I also know the distances from the middle blue dot to the edges of the square. How can I calculate the coordinates of the red dot?

-