Kenny, that is almost correct, but you need to set up both salaries compared to the SAME variable. In your case, you seem to have x as Jane's salary and y as Mary's.
Let's switch things around. We know that x + y = 150, right? Let's let x = Mary's salary, which is smaller, and y = Jane's salary. How would you write Jane's salary with respect to x? Then add the two together, solve for x, then solve for y using the first equation.
I hope this helps.
Kenny Y.
09/01/14