Solve the below problem:
Q: Bars BC and EF are connected at G by a pin that is attached to BC and that can slide freely in a slot cut in EF. Determine the smallest mass m1 for which the equilibrium of the mechanism is stable in the position shown. You must solve the problem step by step.You should include all the units which are needed to solve the given problem.