We have the form
y = Asin (Bx)
The amplitude, A, is [ difference between highest and lowest points ] / 2 = 10/2 = 5
The period is 12 sec
B = 2pi / period = 2pi/ 12 = pi/6
So.....the equation of the function is
y = 5sin [ ( pi / 6) x ]
Here's the graph : https://www.desmos.com/calculator/6ejfoskflu
