A game will have 2 periods and each period will have 20 minutes of playing time (running clock). There will be 3 timeouts the whole game, unused timeout in the 1st period will be carried over to the 2nd period. 24 seconds shot clock will be in effect in the last 8 minutes of the…