Aubrey and Mariah are making friendship bracelets. Aubrey has three times more beads than Mariah. The equation below show this relationship, where p represents the number of beads Aubrey has, and q represents the number of beads Mariah has. p = 3q If Aubrey has 9 beads, how many beads does Mariah have?