Rio: pick the segment by the station
Copacabana centre is Siqueira Campos, the fort end is Cantagalo, the north end is Cardeal Arcoverde. Walk only the segment where you get off. Ipanema is General Osório or Jardim de Alah. Leblon is further west from Jardim de Alah, or Antero de Quental. Arpoador is the rock between two beaches, not a third beach. Barra da Tijuca is another day in the west: metro Jardim Oceânico, then a bus or BRT.
Salvador’s shore and the island
Porto da Barra is the city beach and shares the bus terminus with the lighthouse. Bus from the old town. It is not a Rio metro beach. Morro de São Paulo is the fast boat from the Salvador dock, then walking or a cart. Do not put a Porto da Barra afternoon onto that boat. Pick one for the day and leave the other for another trip.