What are the two equations you can derive from the problem?
m + u = 250
5m + 2u = 1001
simplest method to solve is to solve the first equation for u and substitute that value into the second equation.
u = 250 - m
5m + 2(250 - m) = 1001
5m + 500 - 2m = 1001
3m = 501
m = 167
now substitute that value into the first equation
167 + u = 250
u = 250 - 167 = 83
confirm by substituting the two values into the second equation
5(167) + 2(83) = 1001
835 + 166 = 1001