Timothy and his brothers are selling oranges and cookies to raise funds for a camping trip. In total, the brothers sold
284 items and they notice that they've sold 3 times as many cookies as they did oranges. How many of each item did they sell?

i need step-by-step explanation please