This is a funicular, meaning that the two cars are on one cable with a pulley at the top. They counter balance each other.