I don't want to solve your problem, but try to give you some hints.
Your function is a pice-wise defined function, so you musn't expect an expression like $f(x)=2x+3/2$, but an expression like
$$
f(x)=\begin{cases}
2x, & \mbox{when } 0\leq x<\pi/3 \\
\pi-x & \mbox{when } \pi/3\leq x<\pi .
\end{cases}
$$
On the other hand, they tell you your function is odd ($f(-x)=-f(x)$), so you can achive a similar expresion but when $x$ is in $[-\pi,0]$ (try it).
Your total function will be the ''paste'' of two data, and is defined only on $[-L,L]$, $L=\pi$. The Fourier series extends it to the whole real line.
Now, how do yo compute coefficients? Well, since the function is odd you know that the only coefficients of $\sin$ matters. All you have to do it now is divide your integral in ''little'' integrals where you have an expression like $x^2$ for you function. I mean, cut the intergal interval $[-L,L]$ in some short intervals.
Finally, note that the argument is an even function (is the product of two odd) and is integred in a symmetric interval. Then you can reduce your above to expression to
$$
b_n=\frac{2}{L}\int_0^L f(x) \sin\left(\frac{n\pi x}{L}\right) dx.
$$
PD: To get the symbol $\pi$ you must type \pi. Similar, for $\leq$ or $\geq$ you have to type \leq (Less or EQual) and \geq (Great or EQual), respectively.
You have to split up your integration region like $$\int_0^{\pi} = \int_0^{\frac{\pi}{3}}+ \int_{\frac{\pi}{3}}^{\pi}$$
– Triatticus Dec 03 '17 at 22:39