FourierSeries[Abs[x], x, 3]