An internet company charges $12 per gigabyte of data plus a monthly service charge of $18. Last month, Niki's bill was $78. Write an equation to find how many gigabytes of data Niki used last month.