PESTECH Interview Question

Degree question and some math problem