5c+5d-8(7c-4d)

5c+5d-8(7c-4d) distribute

5c+5d-56c+32d combine like terms
-51c+37d