Very basic algebra. You know your budget. What grade are you in, this is now 6 or 7th grade math.