Two nearby trumpets are sounded together and a beat frequency of 5 Hz is heard. If one of the trumpets sounds at a frequency of 501 Hz, What are the two possible frequencies of the other trumpet?