Benzene reacts with acetyl chloride in presence of anhydrous AlCl3 to give Friedel crafts acylation reaction. This reaction follows electrophilic substitution reaction. The product, P formed is acetophenone.
P on reacting with methyl magnesium bromide (MeMgBr) gives alkoxide product which upon hydrolysis gives alcohol product.