This looks like a homework problem but I'll send you a useful link which might help. You're also missing information about the standard deviation to be able to do your problem.
https://mgimond.github.io/Stats-in-R/z_t_tests.html
Reminder of homework policy: FAQ: Homework Policy