Need some help with this one.

and intersect two parallel lines, and each other at a point on the interior of the parallel lines. Point is units from . How far from should the point be so that the sum of the triangles and is a minimum?

I'm having some trouble with the setup. Any help would be appreciated.

Thanks.