To expand on chewwy's idea, what you do is to mentally take moments at one of the hinges (start from F). You have all clockwise moments acting from the weights of rods, so you need an anticlockwise moment so that the object would remain in equilbrium. You're told it must be horizontal, so it must be a horizontal force going to the right acting at E, which causes an anticlocwise moment. Then repeat the same procedure, taking moments at E, and for the framework to be in equilibrium, you need another anticlockwise moment again, which is a force going to the left at F.