STEP1:
Equation at the end of step 1
(((7•(p2))+(9•(q2)))+22q2)-4p
STEP 2 :
Equation at the end of step2:
(((7 • (p2)) + 32q2) + 22q2) - 4p
STEP 3 :
Equation at the end of step3:
((7p2 + 32q2) + 22q2) - 4p
STEP4:
Trying to factor a multi variable polynomial
4.1 Factoring 7p2 - 4p + 13q2
Try to factor this multi-variable trinomial using trial and error
Final result :
Final result : 7p2 - 4p + 13q2