This is nothing but application of the "laws of algebra". They do not teach these enough, as all algebra is is these few "laws", even the complicated ones that can take pages of work:
http://mentorproducts.com/laws.html- ( 2.16 * (95 - X) ) = 100 * (25 - X)
First, use your distributive law:
=
(-2.16 * 95) - (-2.16 * X) = (100 * 25) - (100 * X)
=
-205.2 - (-2.16 * X) = 2500 - (100 * X)
rearrange, and simplify the negative signs (to negatives equals a positive)
2500 + 205.2 = (2.16 * X) + (100 * X)
=
2705.2 = (2.16 * X) + ( 100 * X)
Apply the distributive law again (factor out)
2705.2 = X * (2.16+ 100)
=
2705.2 = X * (102.16)
Divide both sides by 102.16
2705.2/102.16 = X
X = 26.48
Now, you can also then THINK about the math you just did. Does the number seem correct? Does that at least seem the right change in temperature? Did it get hotter or colder, and was it supposed to get hotter or colder?