It appears that you are being asked to describe the harmonic motion of a pendulum.The general formula for that is (y - k)/b = sin(x - h)/a, where a is the period divided by 2pi, b is 1/2 the distance the pendulum travels back and forth, h is the phase shift (or horizontal shift of the graph), and k is the vertical shift (or the minimum distance plus 1/2 the total distance the pendulum travels).
Given that, the pendulum takes 3 seconds to travel from 3 meters to 13 meters, and it would need 3 seconds to come back to 3 meters again. So the period is 6 seconds, and a = 6/2pi = 3/pi.
The pendulum travels from 3 meters to 13 meters, a distance of 10 meters, so b = 10/2 = 5 meters.
The vertical shift, k, is how far above the x-axis the midpoint of the sine wave function will be. That will be the minimum distance (3 meters) plus one half of the travel distance (5 meters), so k = 8 meters.
The horizontal, or phase shift, describes how far the sine wave function is shifted left or right. For a sine wave, it takes 1/4 the period for the wave to move from a peak or a trough to the midpoint of the wave. The period is 6, so it was at a peak 6 seconds before the data you were give, at t = 2 seconds. With no horizontal shift, the wave would have been at the midpoint of the graph, and crossing the y-intercept, 1/4 the period time prior to the 2 second peak. But since the period is 6 seconds, 1/4 of that is 1.5 seconds, and when the wave crosses the midpoint it is 0.5 seconds past the time it would be crossing the y-intercept, so there is a horizontal shift of 0.5 seconds. Thus, h = 0.5.
Now put this all into the general function, (y - k)/b = sin(x-h)/a to get:
(y-8)/5 = sin((x-0.5)/(3/pi)).
To put it into standard form, first multiply both sides by 5, and then add 8 to both sides to get:
y = 5sin((x-0.5)/(3/pi)) + 8.
Hope this helps.