You have found some of the parts of the moment expression, but these parts act over limited portions of the beam.
For instance, starting at the first support, M(x) = 2.5 x, for 0 ≤ x ≤ 0.4 m
Similarly, the next part, M(x) = -7.5 x for 0.4 < x ≤ 0.8 m
Finally, M(x) = 5 x for 0.8 < x ≤ 1.2 m
You've got to write the bending moment function is such a way that all of the segments of the bending moment curve are treated together. This is difficult to do with regular algebra, but there are special ways to construct a bending moment function in a piece-wise manner. McCauley's method is one such procedure:
http://www.codecogs.com/library/engineering/materials/beams/macaulay-method.php
You've wound up with too many constants of integration. When you integrate the moment equation to find the slope, you'll generate one constant of integration. When you integrate the slope equation to find the deflection, you'll generate another constant of integration as follows:
M(x) = bending moment as a function of position x
Θ(x) = slope as a function of position x
y(x) = deflection as a function of position x
Θ(x) = ∫ M(x) dx = Θ(x) + C
1
y(x) = ∫ Θ(x) dx = ∫ [Θ(x) + C
1] dx = ∫∫ M(x) dx dx + C
1 * x + C
2
The boundary conditions for this beam are that the deflection = 0 at the two supports, so you can have at most two constants of integration.
You're on the right track. You just have to make some adjustments in how you construct the bending moment function and then integrate it.