# Fourier odd and even extension of descending steps function

Can anybody help me find even and odd extension of the descending steps function if $$f(x)$$ be:

$$\begin{cases} f(x)= 1 & x\in[0,1]\\ f(x)= (0.5) & x\in[1,2] \end{cases}$$