Possessing marijuana and drug paraphernalia are criminal offenses in the State of Washington; they are not tickets.
What you might have received is a summons to appear. Read the notice carefully and contact a lawyer immediately so that you can review any paperwork you have with the lawyer.
Also, you do not need to give a police officer permission to search your vehicle, nor do you need to answer questions about the contents of your vehicle. It sounds like you were pulled over for a traffic infraction - failure to yield the right of way perhaps or failing to stop at a light or stop line. But what could have stayed as a routine traffic stop escalated into a criminal case.
A better response to questions involving things outside the scope of license, registration, and insurance is "I want to talk with a lawyer."
The first thing you need to do is get a lawyer. You have been charged with a crime and could be charged with another. If you cannot afford to hire an attorney, ask to have one appointed to you. Most courts give you 15 days to respond to a citation and to set up a court date on the new charge. Your first court date will be your arraignment. This is the time at which you are asked how you plead to the charge. 99% of the time the proper answer is not guilty. This protects your rights and gives you a chance to fight the charge.