How do I fix my laptop's broken frame?

Repairing this will cost a lot. Consider upgrading instead, and maybe go for a smaller 13- or 14-inch laptop.

Order replacement parts and fix it yourself.

If you’re good with tools, take it apart and see what’s broken. Once you know, you can decide how to proceed.