When two players are facing the goalkeeper alone. and the first player passes the ball to the second and he scores.
notes:
The moment when the ball was passed to the first player none of the two players are offside.
when the first player passes the ball to the second player, the later is closer to the goal line than the ball.