Write the amount similar dominant and different squares as one phenotypic group. Count the amount of similar recessive squares as another group. Write the result as a ratio of the two groups. A count of 3 from one group and 1 from the other would give a ratio of 3:1.