To get the pH value for a certain aqueous solution, the concentration of the hydronium ions (in moles per liter) should be know. This concentration is also known as the "molarity".
pH = -log [H3O+]
We are given that the molarity = 0.3 m
Therefore,
pH = -log[0.3] = 0.5228787