The bottom point is irrelevant. Given two points ($P_1$ "left" and $P_2$ "right"), and the desired distances $r_1$, $r_2$ respectively of the "top" point $P_3$ from those, the "top" point must be one of the intersections of the circle with radius $r_1$ centred at $P_1$ and the circle with radius $r_2$ centred at $P_2$. You can use the law of cosines to find the angles in the triangle whose vertices are $P_1$, $P_2$ and $P_3$.