infosys - in a family there are several brothers and sisters every 2 boys have brothers as many as sisters and each girl has 2 brothers less than twice as many brothers as sisters now find the number of boys and girls - skillgun

Here assume the number of brothers are a and the number of sisters are b in the family.Assume any two boys. They would be having a- 2 brothers But this number is equal to the number of sisters they have.
Therefore,
a - 2 = b
girl have b - 1 sisters. Twice the number of sisters = 2(b - 1).
Since the girl has twice as many brothers as sisters, we have, 2(b-1)-2 = a=>2b-4=a => 2(a-2)-4=a =>2a-8=a =>then a= 8 and b=6