By playing your formation you gave him the wings. That was all he needed. Once he finished scoring he switched to counter your formation in a defensive way. That is why you should always scout your opponent before you go into a game. Formations are not stand alone things. You should play your opponent