To get the third factor, take the product of the other 2 factors and then divide the main equation by their product.