Louis has 3 times as many baseball caps as Rachel. Adding 9 to the number of baseball caps that Louis has and dividing by 2 equals the number of baseball caps that Andrew has. If Andrew has 18 baseball caps, how many baseball caps does Rachel have? will give points