>>24206083
Well, let's look at it like this. They have vastly superior technology. We have vastly superior local logistics.
However, the smart thing for them to do would be to strap a couple of interstellar engines on a rocketship or asteroid and shoot it at earth at a significant fraction of the speed of light. An impact strong enough to do major damage to earth and destroy human civilization, but not enough to render earth uninhabitable. Then xenoform the planet by seeding alien life on the ashes, which might potentially outcompete earth based life.
We MIGHT be able to deflect an attack like that with a missile, but we aren't prepared for it. We could potentially throw a lot together in a few months, though. The secret to our success would be sheer numbers - a LOT of missiles fired at the target rather than just one. Even if almost all fail, just one knocking it off course could save us.
Overall they'd have orbital superiority and a war between us would wreck the earth either way. But we can potentially win in the same manner than primitive people have kicked out superior civilizations before. We simply make it too costly for them to stay.
This assumes their understanding of science is similar to ours but just more advanced, and that they simply have a greater logistical base.
Assuming we survived, we'd have a wrecked earth no matter what. And we'd have a deadly fight on our hands when the NEXT fleet came. We'd probably have to defeat them a few times to win. But the positive is that we can probably reverse-engineer their stuff since science isn't magic and we understand basic scientific principles. We'd have to build the tools to build the tools, but if a large enough infrastructure remained, we might be able to survive.
Odds would be against us though. We'd almost certainly be facing computerized drone xenoforming ships, and in a worst case scenario they'd make manufacturing plants on the uninhabited rocky worlds in the solar system. Bad news.