How do I do this problem? We’ve been learning this recently and there’s a test we have on Thursday And I’m still not quite sure how to do these types of problems

How do I do this problem Weve been learning this recently and theres a test we have on Thursday And Im still not quite sure how to do these types of problems class=