In the marking scheme they somehow manipulated a cubic to retrieve one of the factors needed to answer the question:

My question is: How can it be known to do this baring in mind there is three roots and the others had many decimals? Its like they pulled it from nowhere.