polytechnic math solution