The Gilbert family bought airline tickets online. Each ticket cost $167. The Web site charged $19 per ticket, as well as a flat fee of $16. The Gilberts were charged a total of $1132. Write an equation and solve it to determine how many tickets the Gilberts purchased.