Half Range Fourier Sine and Cosine Series for x+x^2

Folks,

Find the half range fourier cosine and sine series for $\displaystyle x+x^2$ for $\displaystyle 0<x<\pi/2$

1) Firstly, I would like to know whether this is an even or odd function before I evaluate the half range Sine / Cosine Series

My attempt: f(x)=f(-x) implies even fn, therefore

$\displaystyle f(x)=x+x^2$, replace x with -x giving

$\displaystyle f(-x)=-x+(-x)^2=-x+x^2???$

2) $\displaystyle P=2L=\frac{\pi}{2} \implies L=\frac{\pi}{4}$

I attempt to start of with $\displaystyle \displaystyle a_n=\frac{8}{\pi} \int_{0}^{\frac{\pi}{4}}(x+x^2)cos(4nx)dx$ Is this correct so far?

Thanks