Applications of Punnet squares