Illegal formation doesn't mean an automatic loss and the game will still be simulated. That being said, your opponent's formation looks like they're playing through the flanks and you've got 3 players on each side - it's perfectly logical that you beat him and if you ask me, he didn't even stand a chance.