what you do I set 45x equal to your two other angles since the sum of those two angles is equal to that angle outside the triangle.
so you have
45x=57+x+25x
combine like terms
45x=57+26x
then subtract 26x on both sides to get
19x=57
lastly divide by 19
x=3