slater used 7 black legos and 21 green legos to build a tower what was the ratio of the number of black legos to the number of legos in the tower

The ratio of the number of black legos to the total number of legos in the tower can be calculated as follows:

Number of black legos = 7
Number of green legos = 21
Total number of legos = 7 (black) + 21 (green) = 28

Therefore, the ratio of black legos to the total number of legos in the tower is 7:28 or simplified to 1:4.