Jill paid $35 for a sweater. This was $5 less than twice what she paid for a pair of shorts. How much did Jill pay for the pair of shorts?