I need help with 3 coding questions attached below. They need to be answered in

I need help with 3 coding questions attached below. They need to be answered in VHDL and compiled in EDA playground with the settings I will provide below. The 3rd question refers back to and example from a chapter in the textbook, I am attaching that portion of the textbook after the question is accepted as well.

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount