plz HELP! A music store has a 30% off all instruments sale.

A. A guitar regularly costs $45.What is the discount price?

B. If the regular price of an item is x dollars, what is the discount price in dollars?