Let hens = H, goats = G According to the question, H + G = 90 ...(i) 2H + 4G = 248 ...(ii) On multiplying Eq. i) by 2 and subtracting from Eq. (ii), we get by solving 1 and 2 we get
-2G = -68 G = 34