If the cow is outside of the barn then the area is consist of the area a semi circle and a quarter circle. ![enter image description here](
and if the cow is inside the barn then: ![enter image description here](
If the cow is outside of the barn then the area is consist of the area a semi circle and a quarter circle. ![enter image description here](
and if the cow is inside the barn then: ![enter image description here](