At a carnival, food tickets cost 2 dollars each and ride tickets cost 3 dollars each. A total of 1 dollars comma 240 was collected at the carnival. The number of food tickets sold was 10 less than twice the number of ride tickets sold. The system of equations represents x , the number of food tickets sold, and y , the number of ride tickets sold. 2 x plus 3 y is equal to 1 comma 240 x is equal to 2 y minus 10 How many of each type of ticket were sold?