The impact of famly composition on educational achievment