1. "set my variables x1 x2 and x3 to television, radio, and newspaper respectively. " Makes no sense. "television, radio, and newspaper" are NOT numbers. Did you mean that x1, x2, and x3 are the amounts of advertising money?
2. Do you not understand what "50%" means?