How do you write an equation of the tangent function with period pi/4, phase shift pi, and vertical shift 1?