Maggie brought oranges and sandwiches to a picnic. The number of oranges was three more than twice the number of sandwiches. Maggie brought 9 oranges to the picnic. How many sandwiches did she bring?