To obtain the three stars, you want to aim at the corner of the middle pig house.
Power Activation Point
Activate the power up near the house. Your goal is to break the house while still going to push the rock. The rock can then destroy the last pig.
First Shot Result
This is what the final result should look like for your three stars.