our speed is given as
[tex]v_1 = 5 m/s[/tex] towards friend
Speed of the friend
[tex]v_2 = 2 m/s[/tex] away from us
now relative velocity with respect to our friend is given as
[tex]v_{12} = v_1 - v_2[/tex]
[tex]v_{12} = 5 - 2[/tex]
[tex]v_{12} = 3 m/s[/tex]
so here the relative velocity will be 3 m/s towards the friend
so friend will see that we are moving towards him with relative velocity of 3 m/s