First, we draw the free-body diagram of the structure, considering the external supports. At joint D, we have a roller support, which will have a vertical reaction. At point A, the support is fixed, so there are vertical, horizontal, and moment reactions. In our assumptions of the direction of the external reactions, we use the positive convention (+ for clockwise, upward loads, and rightward loads), so that when the result is negative, we know that the direction would match our conventions for the negative directions.

We first analyze member BCD. In our free-body diagram, we draw the reactions of the internal hinge at B (pin). We still base our assumptions on our positive convention, so we write B
x going to the right and B
y going downward. In the solution below, B
x came out as negative. This means that the internal reaction, B
x, is leftward. Next, we compute the resultant reaction at B by using the Pythagorean Theorem. R
B is simply the hypotenuse of the force triangle formed by the components of the internal reaction at B.

Now, in member BCD, we obtained a negative value for B
x, which means that it is actually leftward. However, to avoid redrawing arrows, since this cannot be done conveniently when using a pen, we retain the original direction based on our initial assumptions on member BCD. In member BCD, we wrote B
x as rightward — but it came out to be negative, so it should be leftward; and reversing the sign for member AB, B
x shall act rightward.
Instead of rewriting the direction of the arrows, we can stick with our first assumption, but to account for the wrong assumption of B
x, we simply use the actual sign obtained in our previous calculation. This is the reason why we use a negative sign for B
x when we substitute it into the equilibrium equations below.
