(a) Valencies of X, Y and Z is +2, +2 and -2 respectively so, they will form a compound having of formula $XYZ_{2}.$
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.