(a) Setting A(w)=458, we get:

Subtracting 800 from the above equation we get:

Dividing the above equation by -18 we get:

Therefore Omar has been saving for 19 weeks.
(b) Recall that to evaluate a function at a given value, we substitute the variable by the given value.
Evaluating A(w) at w=5 we get:

Simplifying the above result we get:

Answer:
(a) 19.
(b) $710.