We can divide this problem into 4 steps:
Step 1: Calculate mass of one liter solution from the density
Mass of solution = 1000 ml soln x
=1005 g soln
Step 2: Calculate the mass of acetic acid
Mass of CH₃COOH = 1005 g soln x (5.2 g / 100 g soln) = 52.26 g acetic acid
Step 3: Calculate the moles of acetic acid:
52.26 g acetic x (1 mole acetic / 60 g acetic) = 0.871 mol
step 4: Calculate the molarity of acetic acid:
molarity = moles of acetic / liters of soln = 0.871 / 1 L = 0.871 mole / L