Three members of the Dublin Fire Brigade rescued a teen girl who got into difficulty while swimming at a beach in Brazil.