In sale time at a certain clothing store, all shoes are on sale for $8 less than 50% of the original price. Write a function g that finds 50% of x by first rewriting 50% as a fraction or a decimal.