Sara's family had dinner worth 40 dollars at a restaurant. They had to pay 7% sales tax. How much did they pay for the dinner?