Green Toy Car
Since Bertrand didn’t know that there were more than two types of gifts, your gift must be either the same as Cynthia’s (a hat) or the same as Divine’s (a toy car). But, if it were a hat, then Cynthia would have known that there were more than two types of gifts. So, you received a toy car.
When asked, Bertrand didn’t know of any red gifts; therefore, your gift is not red. If your gift were blue, then Divine would not have learned anything from Bertrandâ€™s answer and could not have deduced that her gift was blue. So, you received a green toy car. (Of course, since your gift is green, Divine did not know of a blue gift and, knowing that Bertrand was aware of a blue gift, concluded that hers was blue.)