A restaurant originally had an equal number of apples, oranges, and pears. 38 pears were used, leaving 90 total fruits. There were twice as many apples as oranges left. The number of pears left was 15 less than the number of apples. By setting up equations and solving, it was determined that 44 oranges were used.