How to write the equation of a transformed function
To write the equation of a transformed function from a description, translate each transformation into one parameter of y = a f(b(x − h)) + k, remembering that reflections and stretches change a and b while translations change h and k.
A worked example
The graph of y = x² is reflected in the x-axis, stretched vertically by a factor of 3, and translated 2 units left and 5 units up. The reflection and stretch give a = −3, the translation left gives h = −2, and the translation up gives k = 5. The equation is y = −3(x + 2)² + 5, with its vertex at (−2, 5).
The mistake people actually make
A horizontal stretch by a factor of 2 means b = ½, not b = 2, because changes inside the function act on x in the reverse way. In the same way, a translation 2 units left makes the bracket x + 2.