Please Answer Quickly. Got question from Khan Academy
g is a trigonometric function of the form g(x) = acos(bx+c)+d. Below is the graph of g(x). The function has a maximum point at (3pi/4, "-2)" and a minimum point at (2pi, "-14)." Find a formula for g(x). Give an exact expression.