CREATE TABLE table_71676 ("Team 1" TEXT, "Agg." TEXT, "Team 2" TEXT, "1st leg" TEXT, "2nd leg" TEXT)

What Team 2 has a second leg of 3-1?
SELECT "Team 2" FROM table_71676 WHERE "2nd leg" = '3-1'
SELECT "Team 2" FROM "table_71676" WHERE "2nd leg" = '3-1'