The parent function, [tex]f(x)=5^x[/tex], has been vertically compressed by a factor of one-half, shifted to the right three units, and up two units.
Choose the correct function to represent the transformation.
A. [tex]g(x)=5^{\left(\frac{1}{2}\right) x-3}+2[/tex]
B. [tex]g(x)=5^{\left(\frac{\eta}{2}\right) x+3}+2[/tex]
C. [tex]g(x)=\left(\frac{1}{2}\right) 5^{x n 9}+2[/tex]
D. [tex]g(x)=\left(\frac{1}{2}\right) 5^{x-3}+2[/tex]