For this case, the first thing you should know is that the opposite sides of the parallelogram are the same.
Therefore, we have the following equations:

From equation 1 we have:


From equation 2 we have:


Answer:
the value of the variables are:

2y + 2x = 6
2y - x = 12
Subtract
3x = -6, x = -2
2(-2) + 2y = 6
-4 + 2y = 6
2y = 10, y = 5
Final solution: x = -2, y = 5
Independent variables must be the amount of cans you buy of cat food. The dependent variable, well that must be the cost. Depending on how many cans you buy, the cost changes! :)