Hi @markwillemsen6170
There seems to be a PT bug in your exercise.
To solve it, change the syntax of the static routes and instead of indicating the IP of the next hop, indicates the exit interface:
RA
Router(config)#no ip route 10.40.0.96 255.255.255.240 10.1.0.97
Router(config)#ip route 10.40.0.96 255.255.255.240 f2/0
RB
Router(config)#no ip route 10.10.0.0 255.255.255.192 10.1.0.96
Router(config)#ip route 10.10.0.0 255.255.255.192 f0/1
That achieves successful connectivity.
Then you just have to configure the DHCP pool on the server to deliver addressing to the network you want.

Regards
Remember that you can go to the Cisco Learning Network as well and remember to mark the correct answers as solved, because that helped other users with similar doubts.