solving exercises from the textbook probability with application and R. Need to use R studio

Page 115 # 3.31, 3.33, 3.36, 3.37, 3.45
Page 204 # 5.1, 5.2, 5.4, 5.5.
NOTE: Please do not use EXEL when u need to use only R-STUDIO if the question need that
Copy the code with the result and place it in the doc you will send