user: ### NOW ANSWER:
Question: What is the 2nd leg if the 1st leg is 3-1 and the Team 2 is Union Sportive de la Médina d'Alger?
Columns: ['Team 1', 'Agg.', 'Team 2', '1st leg', '2nd leg']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['Al-Hilal Al-Sahili', '2-8', 'Espérance Sportive de Tunis', '1-2', '1-6']
SQL:

assistant: SELECT "2nd leg" FROM "Table" WHERE "1st leg" = '3-1' AND "Team 2" = 'Union Sportive de la Médina d''Alger';