One from the force balance, sum=mg, and the one they gave you, that the two are equal. You already combined these to obtain the answer: 2 * Fy=mg.how do you manage to get two equations for vertical
So you already have all the answers. You know the vertical and horizontal components at each hinge. All that remains is deciding the form in which to write answer.
If you have not been taught a vector notation then that leaves two possibilities. Either just list components (FAx=... etc.) or calculate the magnitude and direction of each.