Hard 6th Grade Solving For X Problem