Prince William has been in Brazil this week following a turbulent period for the royals after Andrew lost his titles.