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 5x−4y=7 and xy=8.
Step 1 — Choose the identity.
Here 125x3 is (5x)3 and 64y3 is (4y)3, a difference of cubes with the terms 5x and 4y. Their product is 20xy, and 3×20xy is 60xy.
125x3−64y3=(5x)3−(4y)3=(5x−4y)3+60xy(5x−4y)=73+60×8×7=343+3360=3703
Watch out: For a difference of cubes we ADD 3pq(p−q); here this term is 60xy(5x−4y).
Therefore, 125x3−64y3=3703.