Solve The Cunning Teacher

please can anyone provide solution or hint to the problem