Discount on shirt, [tex]D_s = 19.95\times 0.25=\$4.9875[/tex] .
So, Price payed for shirt is :
[tex]P=P_s-D_s\\\\P=19.95 - 4.9875\\\\P=\$14.9625[/tex]
Discount on shorts, [tex]D_{sh}=35.95\times 0.30=\$10.785[/tex]
Discounted price :
[tex]P=P_{sh}-D_{sh}\\\\P=35.95-10.785\\\\P=\$25.165[/tex]
Therefore, discounted price of shirt and shorts are $14.9625 and $25.165.
Hence, this is the required solution.