The answer you are looking for is
X+12 +5x =6x+12 =90
-12 from 90
=78
/6
X=13
ANSWER-the distance is (6,8)
if you set the equation up from 2-8=6 which is your x value and 4-12=8 is your y value it should also give you your Distance between the two points