When two coins are flipped , sample space is { HH, HT, TH, TT }
Now if it is known that at least one of them is head then, reduced sample space will be --> { HH, HT, TH}
In this reduced sample space only one sample point fulfilling the criteria( both are heads HH) hence required probability is 1/3