and the price of a can of corned beef "y".
Then we obtain a pair of simultaneous equations
Now, eliminate one of x or y to find the other.
You could continue as follows...
Subtracting the 2nd line from the first...
This allows us to find y, then use the value of y to find x.
That's one way.
How about the 2nd question ? Can you try it ?