In a certain city, the probability that a resident owns a car is 0.6. Among those who own a car, the probability that they also own a motorcycle is 0.5. Conversely, the probability that a resident does not own a car is 0.4, and among those, the probability that they own a motorcycle is 0.2. If a resident is selected at random, what is the probability that they own a motorcycle?