Write the sine function with an amplitude of 1/4, a period of 3pi, phase shift of pi4 to the right, and a vertical shift of 4 units down.