Fourier transform of given signal
HINT:

It can be solved by convolution. Take two rectangles, one that is non-zero in $[-T/2,T]$ and the other being non-zero in $[0,T/2]$. Now you just have to choose the amplitudes right and the convolution of the two signals will look like the one in your question.