<span>Why? </span>Because content of your task was sayid <span>Each child ticket for a ride costs 2$" and we know that child is called "c" so 2c now time for adults."</span><span>while each adult ticket costs 6$" and adults is called a so : 6a
2c+6a ="</span><span>if the ride collected a total of 148$" so 2c+6a=148 And if we summaries all the tickets we receive 38