An opposing team player cant be between the last defense guy and the goalie at the time the ball is passed. You have to be in front of last defense man, that keeps players from just seating inside the enemy net.
attacker————defender-————goalie > Good
defender————attacker-————goalie > Off Side
Should be 3-1 because he scored with his penis which is double points :)