5.1.6 Step 2: Solve the problem