If this is part of your CCNA, then you have covered these topics in the course. If you just get the answer from here you will learn nothing about how any of this works, which makes it pointless you doing the course.
What I will give are some pointers, and reminders, so you can do this for yourself, and learn.
You know how to create vlans, on the switches, and how to trunk between them, that is covered on the CCNA course, With the routers, you connect them to a trunk port on the switch, and set the encapsulation on the router subinterface (use 802.1q) and then the VLAN ID. You apply an IP address, and by default it will route between the VLANs when the router IP is the default gateway for the subnet.
I presume the OSPF is ther so you can show that you know how it is configured, it is not needed for this exercise, unless the routers only connect to one common VLAN. Go back through your study notes and course material, the OSPF config for the CCNA is very simple, and you should also have already covered this. It is only a single area, and you need network statements, that is about it.