Answer:
The gene that appears more in the family tree is dominant
The gene that appears less is recessive.
It seems that all the white shapes are dominant and the black shapes are recessive.