This is not correct - you cannot consider the current flowing through two loops independently, as the SAME current must pass through the 50 Ohm resistor in both cases. Try writing down the equations for each loop again, but considering the current through 50 Ohm resistor as the sum of currents in both loops (be careful of sign).