Wales beat Australia 29-25 on Sunday in what could be a pivotal clash in pool D of the 2019 Rugby World Cup.