Independently derived solution.
The water volume stays 9000 cm³ when the block is turned; no water is added. With the block vertical, its horizontal cross-section is 10 × 10 = 100 cm². The area available to water below the top of the block is 30 × 30 − 100 = 800 cm².
Water height = 9000 ÷ 800 = 11.25 cm. This is less than the block height of 18 cm, so the block is only partly submerged and the cross-section method is valid.
Check by displacement: the submerged block volume is 100 × 11.25 = 1125 cm³. The volume below the water surface is 900 × 11.25 = 10125 cm³; subtracting the block gives 10125 − 1125 = 9000 cm³ of water. The supplied PDF incorrectly uses 10800 cm³ with the reduced base and obtains 13.5 cm; that double-counts displacement.