Please check the image below. My algebra is bit rusty. Please explain the second step where the common factor is taken out.