linux – Can you help me with this firewall exercise?

I’m studying Linux firewall, and i have problems to resolve this exercise with command firewalld-cmd:

  1. The web server of the local host is not allowed to be accessed on Tuesdays and Fridays; the rate of new requests cannot exceed 150 per second; the web server contains demo strings that are not allowed to be accessed; the web server only allows response messages to leave the site machine;
  2. Open the ssh service of this machine to the hosts in, the rate of new request establishment shall not exceed 3 per minute; only response packets are allowed to leave the machine through its service port.
    Can you help me?