I hope you can help me out because this problem has been bothering me all day long.
The tasks:
A) The graph belongs to the function $f(x)=a\sin(bx+c)$. Determine the parameters a, b and c according to the graph.
B) Determine it's roots $x_1, x_2$ and $x_3$.
Obviously $a=3$ and $b=2$, but what about the phase shift $c$? I looked up the solutions and they state that $c=\frac{5\pi}{3}$ (positive value, so they shifted it to the left). I have no clue how they arrived at that though.
Thank you.

We know $x_1 = \frac{\pi}6$. We also can see that $y=\sin (2x)$ (the non-shifted version) has the "same kind" of y-intercept at $x = \pi$. So our function must be shifted $\pi-\frac{\pi}6 = \frac{5\pi}6$ units to the left.
The general equation for a sine function is $$y = a\sin(b(x+c))+d$$
We know $$y = 3\sin(2(x+c))$$ where $c$ is the phase shift, $\frac{5\pi}6$ in this case.
So $$y = 3\sin(2x+\frac{5\pi}3)$$