A local grocery store has two types of fruits: apples and bananas. Last week, they sold a total of 60 fruits. The number of bananas sold was twice the number of apples sold.
If we let $x$ represent the number of apples sold, how many apples were sold?