a cow walks out of a barn next to a goat 
The Cal is walking out of the stable.
A cow standing half way out of a barn.
A cow standing half way out of a stable near a goat.
A cow standing outside its stall near a goat.