You can
put this solution on YOUR website!--------------M-----2x---R-------3x+7-----P
I assume M and P are the end points.
Is R the midpoint?
Are 2x and 3x+7 identifiable positions or
are they random placements?
---------
Your diagram does not help define the problem.
--------------
Cheers,
Stan H.