Solution:
Here, x denotes the number of food tickets sold and y denotes the number of ride tickets sold.
Given the system of equations:
....[1]
....[2]
Replace [2] into [1] to obtain;

Apply the distributive property,


Combine like terms;

Add 20 to both sides to obtain;

Divide both sides by 7 to get;
y = 180
Plug this value into [2] to find x;

Therefore, the number sold of each ticket type is:
the number of food tickets sold: 350 and the number of ride tickets sold: 180