`|x| + 2*A = 0.`

Given the equation. Variable A we set in input.txt . Let it be -1. Decisions will be 2: 2 and -2. I know how to solve it, but the question is - I don’t know how to put it into the program. In output.txt there should be this. In the first line of the output file output the number of solutions of this equation, and in the second line, the solutions themselves should be separated with a space.

In general, I assigned a variable

` ``у:=2*A`

and then

` ``Z:=|x|*y`

But the latter is wrong. Tell me how to write to the program in ouput wrote the number of decisions and solutions. And how to make an equation.

And by the way, here's the solution

` ``|x|+2*-1=0;`

`|x|-2=0;`

I'm interested in how to write this line in the program.

` ``x=2; x=-2;`