The pair is formed by comparing the prices of the base and quote currencies and determining the amount of the quote currency required to purchase the base currency. The EUR is the base currency in EUR/GBP since it comes first, while the GBP is the quote currency because it arrives second.