We can figure out the factor by just intelligent guessing. we see a

on the LHS so RHS should generate it. So the missing factor should contain a

. LHS also has a

. To get it the factor should contain a

. Now we can check if other terms of LHS will be generated from the RHS. Our RHS is

. Bingo!!
But more mathematical method will be as follows:
