Explanation:
Given that,
Bill is riding his bicycle at 5 m/s eastward: and Carlos is driving his car at 15 m/s westward.
Taking eastward as positive direction, we have:
[tex]v_B=+5\ m/s[/tex]is the velocity of Bill with respect to Amy (which is stationary)
[tex]v_c=15\ m/s[/tex] is the velocity of Carlos with respect to Amy.
Bill is moving 5 m/s eastward compared to Amy at rest, so the velocity of Bill's reference frame is
[tex]v_B=+5\ m/s[/tex]
Therefore, Carlos velocity in Bill's reference frame will be
[tex]v_c'=-15\ m/s-(+5\ m/s)\\\\=-20\ m/s[/tex]
So, the magnitude is 20 m/s and the direction is westward (negative sign).