Solving for unknowns with algebra