Taking east direction as positive (positive east)
→vyou = 10 m/s
→vA,B = →vA,you + →vyou,B ...(i)
→vyou = →vyou,A + →vA ...(ii)
As the direction of →vyou,A and is both toward east. Hence, your direction should be toward east.
→vyou,B = →vyou - →vB ...(iii)
As B is moving toward west and you are moving towards east Hence, your direction w.r.t B should be toward east.
→vyou,B = 15 m/s
Now from (i),→vA,B = -10 + 15 = 5 m/s
Hence, velocity of A w.r.t B will be 5 m/s toward east