Design a network which have at least 5 to maximum 8 AS and each AS with minimum 3 to maximum 5 routers. Suppose that half of the AS in a network are using RIP and the remaining half are running OSPF for their intra-AS routing protocol, consider iBGP and eBGP for inter-AS routing protocol.
Your question is based on networking layer and design so i recommend you to brush up your concepts on them by either referring to a book or by watching videos as it will clear your doubts and help you in clear your basics.You can also refer to the below pdf for information
https://www.cs.uic.edu/~jbell/CourseNotes/Networking/Slides/Chapter_4_V6.0.pdf