A 50 g piece metal is placed in 250 g of methanol at 0 °C. The methanol is warmed to a temperature of 5 °C. What is the specific heat of the metal?

You're a genius if you can do this. You don't have enough information. You've omitted the joules necessary to raise the temperature by 5 C.