ZS Associates Interview Question

What is the optimal marketing spend given this data?