The two attacks in the Spanish city of Palma happened just minutes apart.