hi, i am having problems currently with these two problems, attached are pictures of the two problems i am having problems with, i dont know what kind of testing i am supposed to use. Also how do i find the p-values? My professor wants me to do these problems in a specific format attached is a rubric on how we should show our work.

here is the first problem

second

thanks in advance for the help