It took Michael 58 minutes last night to do three homework assignments.

The second homework assignment took twice as long as the first.
The third homework assignment took 8 minutes longer than the second.

How long did Michael spend on the first homework assignment?