The Republic of Ireland beat Poland 2-0 for a 3-0 aggregate win to secure their ticket at the 2027 Women's World Cup in Brazil.