In an orienteering event, Emily sets out towards the first landmark that is 3 km away. After reaching the landmark, she heads for the second landmark which is 17 km away from the first. What is the total distance Emily planned to cover between the two landmarks?