1. The problem statement, all variables and given/known data How could I calculate the piecewise formula for M(x)? 2. Relevant equations 3. The attempt at a solution From constructing a free body diagram it looks like up until the pin support, M(x) = -Fy*x (Fy being the force pointing upwards at the wall) but I am confused about how to handle the moment at the end in this calculation. Unfortunately the course I am taking assumes I already know how to do this, so I don't have a textbook or anything to rely on. Thanks for any help you can give me.