class 3rd math solution