Max has a garden where he grows flowers. He plants $x$ rose bushes and $3$ times that number of tulip bulbs. If he wants to plant a total of $45$ plants, how many rose bushes has he planted?