I overtook somebody just before we reached the ribbon at the finish line.
ーI passed somebody just before the finish line.
「ゴール直前で追い抜いた」
to pass で「追い越す・追い抜く」
just before the finish line で「ゴール直前で」
ーI overtook somebody just before we reached the ribbon at the finish line.
「ゴールテープに達する直前で追い抜いた」
to overtake で「追い越す・追い抜く」
ribbon at the finish line で「ゴールテープ」
ご参考まで!