For Install MacOS mojave
Several older model macs are not compatible with Mojave. This site will list what Macs can run Mojave.  The only 2010 model listed is for an Mac Pro with a specific graphics card.