Let X be the wholesale price.
The retail price of a pair of pants is X + X*80% = $36.
Thus 1.8*X = $36.
Thus X = $36 / 1.8 = $20.
#### 20