6 friends all use $2 off coupons to buy themselves movie tickets. They spend a total of $42 Write the equation