Only phenol reacts. The –OH group strongly activates the benzene ring, so bromine water substitutes all three ortho and para positions without a catalyst:
C6H5OH+3Br2→C6H2Br3OH↓+3HBr
Cyclohexanol has no aromatic ring and no C=C bond, so bromine water has nothing to substitute or add to. It stays in solution.

Moles of precipitate. M(C6H2Br3OH)=72+3+240+16=331 g mol−1.
n(tribromophenol)=3316.62=0.0200 mol=n(phenol)
Percentage of phenol. M(phenol)=94 g mol−1.
m(phenol)=0.0200×94=1.88 g
% phenol=2.881.88×100=65.3 %
The rest, 1.00 g, is cyclohexanol.
Bromine consumed. Three moles of Br2 react per mole of phenol:
n(Br2)=3×0.0200=0.0600 mol
m(Br2)=0.0600×160=9.60 g