Jose wanted to ride his bicycle for a distance of 12 miles, but it broke down after he went only 25% of his distance. How many miles did Jose travel on his bike before it broke down?