<prompt> Create an algorithm to solve this equation:c a b  <response>: To solve the equation c a b, follow these steps:1. Start by identifying the known values in the equation.2. If the values of a and b are known and the value of c is unknown, add a and b together to get the value of c.3. If the values of a and c are known and the value of b is unknown, subtract a from c to get the value of b.4. If the values of b and c are known and the value of a is unknown, subtract b from c to get the value of a.5. The equation is now solved and the unknown value is found. Here is an example of an algorithm coded in Python:pythondef solve_equationaNone, bNone, cNone: if a is not None and b is not None and c is None: c a b elif a is not None and c is not None and b is None: b c - a elif b is not None and c is not None and a is None: a c - b return a,b,cYou can call this function to find the value of the unknown variable:pythonsolve_equationa1, b2 Returns: 1, 2, 3solve_equationc3, b1 Returns: 2, 1, 3solve_equationa2, c5 Returns: 2, 3, 5 