You have to add the like terms in the equation
These like terms are 8q^2 and 7q^2 because they both share q^2
The other like terms are -5q and -8q because they both have ‘q’
So add them and then add extra numbers (the 10) to the equation
Hope this helps xo