5.4.5 Step 2: Solve the problem