Reaction of carboxylic acid with Grignard is shown above.
It'll only consume 1 mole of CH3MgBr. CH3C≡CCH3 won't react with Grignard reagent because it doesn't have active H-atom.
In HC≡C−CH2OH two active hydrogen atoms are present, hence it will react with two moles of CH3MgBr (Grignard reagent) as shown below. HC≡C−CH2OH+2CH3MgBr→2CH4+BrMgC≡CCH2OMgBr