What are the capitals of the 2 large countries that occupy the irebian peninsula in Europe?

Spain and Portugal