Question: How to return different y values?

iotat := proc (a, b, c)
     local q;
     q := isolate(a, y)
     # return value of y for some value of x
     # return value of y for some other value of x
    
end proc;

iotat(x-y = 1, [x = 10, x = 11]);
                          
y = -1 + x

How can I get the procedure to return two values for y?

Please Wait...