Suppose,
50 families have three children(150 child's),
30 families have two children(60 childs)
and remaining 20 families have one child(20 childs).
So ,Probability that a randomly picked child belongs to a family with two children =
$\frac{60}{150+60+20}$=$\frac{60}{230}$=$\frac{6}{23}$