stuck on this two questions

Stuck On This Two Questions class=