I cannot figure out how to do these two questions. If someone could please show me step by step that would be awesome. Thanks in advance

I cannot figure out how to do these two questions If someone could please show me step by step that would be awesome Thanks in advance class=