Metal burns in the presence of oxygen to form metal oxide. So, calcium reacts with oxygen to form calcium oxide (CaO).
When CaO is added to water, calcium hydroxide is formed.
So, Y is calcium hydroxide, and it is basic in nature.
A base turns red litmus blue. So, Y (which is calcium hydroxide) should turn red litmus blue.