Daniel's paycheque is p dollars. He spends 30% of it on a jacket and some groceries. The jacket costs $50. Write an expression for the amount he spends with steps.