From the reactions shown, A and B respectively are:
A: methyl magnesium bromide + work up; B: methanol in acid (catalytic)
A denotes a Grignard addition while B denotes the formation of an acetal:
For the Grignard addition, CH3MgBr followed by work up (separate) gives:
For the acetal formation,