Substitute the first a into the second formula and you get
2.5 B + 1.5 C =5 C。
Substitute B =56 and you get it.
3.5 degrees Celsius =2.5*56
C =40
A = 1.5(40+56)= 144。