We are told that there are the names of 12 girls and 14 boys in a hat. we are asked about the probability of drawing the name of a boy. To do that, we need to divide the number of boy's names over the total amount of names in the bag, like this:
Therefore, the probability is 0.538 or 53.8%