Solution:
Concept: From the cube identities, a3+b3=(a+b)3−3ab(a+b) and a3−b3=(a−b)3+3ab(a−b).
Given: We are told a−b=3 and ab=10.
Step 1 — Choose the identity.
Cubing a−b gives a3−b3−3ab(a−b), so a3−b3 is (a−b)3 plus 3ab(a−b).
a3−b3=(a−b)3+3ab(a−b)=33+3×10×3=27+90=117
Check: 5 and 2 differ by 3 and have product 10; working with them directly gives the same value.
53−23=125−8=117
Watch out: For a difference of cubes we ADD 3ab(a−b).
Therefore, a3−b3=117.