Solving Linear Equations: Two-Part Function Machine