Three-hinged gable frame: pins at 1 and 5, crown hinge at 3; 2.5 kN/m on the left rafter (horizontal projection) and 30 kN horizontal at point 4 level.
Given. Pins at 1 $(0,0)$ and 5 $(21,-3)$, crown hinge at 3 $(12,9)$; eaves 2 $(0,4)$ and 4 $(21,5.25)$; both rafters slope $12{:}5$. Loads: $2.5$ kN/m over the left rafter (horizontal projection, $0\!-\!12$ m) and a $30$ kN horizontal load (leftward) at $(21,0)$. Find. Reactions and SFD/BMD.
Approach. A three-hinged frame is determinate: three global equations plus $M=0$ at the crown give the four reaction components. Then walk each member with a free body to build the moment diagram.
Resultant of the UDL. $2.5\times12=30$ kN down at $x=6$ m.
Remaining reactions. $\sum F_y:\ A_{1y}=30-6=\boxed{24\ \text{kN}\uparrow}$; $\sum F_x:\ A_{1x}=30-18=\boxed{12\ \text{kN}\rightarrow}$; and $A_5=(\boxed{18\ \text{kN}\rightarrow},\ \boxed{6\ \text{kN}\uparrow})$. (The $30$ kN load passes through node 1’s level, so it drops out of $\sum M_1$.)
Bending moments. $M=0$ at both pins and the crown. The left eaves (joint 2) carries $A_{1x}(4)=48$ kN·m; the UDL bows the left rafter to a reversed $-24.2$ kN·m at $x=7.6$ m; the right eaves (joint 4) carries $9$ kN·m; and the right column peaks at $\boxed{54\ \text{kN}\cdot ext{m}}$ where the $30$ kN load acts — the largest moment in the frame.
Bending-moment diagram traced along the frame axis (kN·m); $M=0$ at both pins and the crown hinge.