Find the vertex of the transformed function