In a formula, the sum of the two external terms is 37, the difference is 13, and the ratio of the two ratios is 12 / 5

In a formula, the sum of the two external terms is 37, the difference is 13, and the ratio of the two ratios is 12 / 5

Two external terms x, 37-x
x-37+x=13
x=25
Two external terms 25,12
25*5/12=125/12
12*12/5=144/5
The formula is 25: (125 / 12) = (144 / 5): 12