Make sure you have your internal and external sign conventions consistent throughout.
First just equate the reactions with any external forces. Then, working from left to right along x of length l, relate the end reaction (and include any force as you come to it) with the internal forces. You can also do the same with bending moment diagrams too, but as I mentioned before, remember your sign conventions, particularly the internal ones.