I'm trying to find the title of a book I read in middle school, around 2015. I read about the first 20-30 pages, so I only remember a few details from it.
I think the plot was something like the main character, a kid around 14 years old, had to rebuild a planet (maybe Earth, I don’t remember).
The main character was jealous of his older brother, because he was very powerful or something. I think his brother built planets.
One of the things I remember happening was a female friend of his flirted with his brother, and he was upset, and she apologized.
I think the cover of the book was the main character sitting in space, looking at a book titled "How To Build a Planet", or something similar, and tapping his head confused.