Your structure is statically determinate, so you can solve for R
A and R
B directly. From there, you can find the moment at any point distant 'x' from Point A using simple statics.
Macaulay's Theorem is just another name for the Double Integration Method. I was going to refer you to the following for a simple example of a beam with a point load at midspan. Unfortunately, the man in the video gets the expression for dy/dx (slope) and y (deflection) wrong. Can you find his error?
Personally, I would not use the Macaulay Theorem to solve this problem, unless you are required to use it in your assignment. There is nothing wrong with the method, but with that many loads, it is very easy to drop a term or make some arithmetic error. There are a number of easier ways to solve it. One method would be to treat each load separately, then use superposition to find the combined answer for slope and deflection at any point distant 'x' from Point A.
We can't solve your problem for you, but it really is pretty straightforward, even though it has a lot of terms. Start by solving for the two reactions, then express the moment at any point distant 'x' from Point A and show us what you've got.
BA