You're walking in one direction, and then the exact opposite of that direction, so you simply have to subtract the two distances.
200-150=50
You're 50 meters west of where you originally started.
You're west because 200 meters west is greater than 150 meters east. If the distance walked east was greater than the distance walked west, you would've been east of your starting position.