Aim the first bird right in the middle of the first and second carriage. This will collapse the structure and kill two pigs.
Aim the next bird in the same area to kill the two pigs below the bridge.
Aim the third bird at the bottom part of the bridge to destroy the structure and kill the remaining pigs.