The function f(x) is continuous on the closed interval -2,7 and consists of three line segments and a semicircle. What is the equation of the function f(x)?