A family buys 6 airline tickets online. The family buys travel insurance that costs ​$18 per ticket. The total cost is ​$1,056. Let x represent the price of one ticket. Write an equation for the total cost. Then find the price of one ticket.