A man wearing a hat is standing on a machine that is being pulled by horses.
Horses pull a machine that is being stood upon by a man.
Мужчина в шляпе стоит на машине, которую тянут лошади.
Лошади тянут машину, на которой стоит человек.