How many of each type of ticket were sold

Answer:
350 food tickets and 180 ride tickets were sold.
D is the correct option.
Step-by-step explanation:
Let x be the number of food tickets sold and y be the number of ride tickets sold.
The system of equation is given by
[tex]2x + 3y = 1240........(1)\\\\x = 2y - 10......(2)[/tex]
Substituting the value of x from 2 in equation 1, we get
[tex]2(2y-10)+3y=1240\\4y-20+3y=1240\\7y=1260\\y=180[/tex]
Substituting the value of y in equation 2, we get
[tex]x=2(180)-10\\x=360-10\\x=350[/tex]
Hence, 350 food tickets and 180 ride tickets were sold.
D is the correct option.