Please help me with these 2 questions they are both solved problems that go together with one huge problem so please answer both thank you

Please help me with these 2 questions they are both solved problems that go together with one huge problem so please answer both thank you class=