Layered Materials Refraction

Layered Materials,Opictiy and Refraction attribute not valid.How do I connect?Please help me.Thanks!