Write a tangent function, h(x), such that the halfway points on one period are (-pi/2, -2) and (pi/2, 4).