22.10.5 Step 2: Solve the problem