<human>:  Bonny just bought her 13th pair of shoes, which is 5 less than twice as many pairs of shoes as Becky owns. Bobby has 3 times as many pairs of shoes as Becky has. How many shoes does Bobby have?
<bot>: Define a variable ** Let x be the number of pairs of shoes that Becky owns.
Write an equation ** Since 13 pairs is 5 less than twice as many pairs as Becky owns, then the relationship is 2x-5=13.
Add 5 to each side ** Adding 5 to each side of the equation, we get 2x=18.
Divide by 2 ** Solving for x, we get x=<<9=9>>9.
How many pairs of shoes does Becky have? ** Since Bobby has 3 times as many pairs of shoes as Becky has, then Becky has 3*9=<<3*9=27>>27 pairs of shoes.
#### 27