Since the equation of the sale price S is

a)
To solve for r add rL to both sides

Subtract S from both sides

Divide both sides by L

b)
Since the list price of the shirt is $30, then
L = 30
Since the sale price is $18, then
S = 18
Substitute them in the equation of r to find it

The discount rate is 0.4