The Eastons traveled 180 miles on a trip to Grandma's house. At the end of the trip the odometer read 8,246 miles. Write and solve an equation to find the odometer reading x at the beginning of the trip.