The task is to generate the correct answer for a given math problem.

Problem: a family pays $ 800 per year for an insurance plan that pays 70 percent of the first $ 1,000 in expenses and 100 percent of all medical expenses thereafter . in any given year , the total amount paid by the family will equal the amount paid by the plan when the family ' s medical expenses total how much ?
$ 1,400

Problem: a clock shows the time as 10 a . m . if the minute hand gains 5 minutes every hour , how many minutes will the clock gain by 6 p . m . ?
40 minute

Problem: liam is pulled over for speeding just as he is arriving at work . he explains to the police officer that he could not afford to be late today , and has arrived at work only four minutes before he is to start . the officer explains that if liam had driven 5 mph slower for his whole commute , he would have arrived at work exactly on time . if liam ' s commute is 10 miles long , how fast was he actually driving ? ( assume that liam drove at a constant speed for the duration of his commute . )

30 mph