Selenocysteine is structurally cysteine with selenium in place of sulfur, so the amino acid it is biosynthesized from must share that same single-carbon, chalcogen-bearing side chain.
Serine and threonine carry oxygen-based hydroxyl side chains, not the sulfur/selenium type of side chain selenocysteine needs, so neither fits. Proline is a cyclic imino acid used for backbone rigidity and has no chemical link to selenium incorporation at all.
Only cysteine's side chain matches the chemistry selenocysteine requires, so cysteine is the amino acid it is biosynthesized from.
Another way to reach the answer is to think about why organisms make selenocysteine at all, and which of the four candidate amino acids could plausibly be chemically upgraded into it.
Only cysteine's chemistry explains why replacing one atom (sulfur for selenium) is enough to generate a functional selenocysteine.
So, the correct answer is Cysteine.
A dipeptide, “x”, on complete hydrolysis gives “y” and “z”; “y” on treatment with aqueous HNO$_2$, produces lactic acid. On the other hand, “z” on heating gives the following cyclic molecule. 
Based on the information given, the dipeptide X is: