The rules for transforming a function f(x) into g(x):
g(x) = a·f(b(x-c)) + d
- a = vertical dilation (stretch); reflects across x-axis if negative
- b = horizontal dilation (stretch); reflects across y-axis if negative
- c = horizontal translation (shift); shift right if c is positive, left if c is negative
- d = vertical translation; up if d is positive, down if d is negative
So for your problem:
- reflected across x-axis means a = -1
- horizontally stretched by a factor of 2 means b = 2
- translated 2 units right means c = 2
- and 5 units up means d = 5
g(x) = (-1)·f(2(x-2)) + 5 = -f(2x-4) + 5