William can eat 3 slices of pizza in 5 minutes. If he continues to eat at the same rate, how long will it take him to eat the whole pizza, which has 12 slices of pizza? How many slices can he eat in half of an hour?