how do i solve this problem in math