R-studio problem of Interactions and Predicted Values

Please submit (1) your R-script (name08.R) that includes the commands you use to answer these questions and (2) a text file containing your typed answers to each question. For example, if the question asks for you to run a regression, your R-script should include the command that does so, while your typed answer should include a professionally for matted regression table (do not simply copy and paste R outputs). Please finish it in the same format.