38 horses all together. We already know the white horses amount. To find the black horses amour we need to subtract the number of white horses from the total number of horses.
38h - 6wh = 32bh
There are 32 black horses now that we have the data we can know the ratio
6 : 32
Or 6 white horses to 32 black horses
Simplify it is 3 : 16 or 3 white horses to 16 black horses