a problem set

I am stuck in both of these questions. I want help with all the steps and a definition on every step. thanks.