Rod $AO$, hinged at $A$, rests against a vertical wall; $R$ is the reaction at the hinge.
Kush Motwani, AIR 11, 2023
[a rod $AO$ hinged at $A$ and resting against a vertical wall on the right, with $\alpha$ marked at the wall end, $\theta$ at $A$, the hinge reaction $R$ along the line towards $O$, the horizontal reaction $N$ at the wall, and the weight $W$ acting downward from the rod's midpoint; $O$ is where the forces meet]
$R\to$ reaction at hinge
At equilibrium: All forces are passing through 1 point.
$\Downarrow$
from diagram, that point will be $O$.
Let $R$ make $\theta$ with horizontal.
$\to$ $R\cos\theta=N$. $\to$ ①
$R\sin\theta=W$
Also, torque around $A=0$, at equilibrium
$\to$ $N\cdot2l\cos\alpha=W\cdot l\sin\alpha$.
$\to$ $N=\frac W2\tan\alpha$ $\to$ ②
Using ①, ②:
$R\cos\alpha=W\tan\alpha/2$
$R\sin\alpha=W$.
$\to$ $R=\sqrt{\frac{W^2\tan^2\alpha}{4}+W^2}$
$R=\frac W2\sqrt{\tan^2\alpha+4}$
Hence solved.