A panda and a giraffe start moving towards each other when they are 300 feet apart. The panda is running at a speed of P feet per minute, and the giraffe is moving G feet per minute faster. How soon will they meet?