..
.
Seven Pigs
.
Answer :

The illustration shows the direction for placing the three fences so as to enclose every pig in a separate sty. 
The greatest number of spaces that can be enclosed with three straight lines in a square is seven, as shown in the last puzzle. 
Bearing this fact in mind, the puzzle must be solved by trial.





Math Genius