A parallelogram containing a 60∘ angle has a perimeter of length p and its longer diagonal is of length d. Find its area.