A man in a white shirt and baseball hat is pushing a cart carrying several bags on a street.
A man is walking outside.
A man pushing a cart on a street is outside
If you are pushing a cart, typically you are walking. Streets are outside so if you're on a street you are outside.
A man is walking because a man in a white shirt is pushing a cart on a street.