Elizabeth competed in a race and found that her times for the swimming, cycling and running legs were in the ratio 3:1:2
If the quickest leg took 10 minutes, how many minutes did she take to complete the whole race?