jjithin27 Welcome to the community!
Above the OTO box it has patch LAN connectors that feed the LAN boxes in your apartment. You would need to connect the LAN ports of the modem to the patch bay.
How the modem fits into the cabinet - I don’t have a solution. Maybe you have a fiber cable that is longer and you can connect the modem outside the box?
Greetings
Daniele