Starting at its rightmost position, it takes 2 seconds for the pendulum of a grandfather clock to swing a horizontal distance of 18 inches from right to left and 2 seconds for the pendulum to swing back from left to right. Which of the following equations models d, the horizontal distance in inches of the pendulum from the center as a function of time, t, in seconds