Marley lost her tennis racket. She bought a new one for 30$. This is 6$ less than three times the price of her old one. How much did she pay for her old tennis racket?