Question: How can I allocate result of solve command to a variable

Hi

I want to allocate the result of "solve" command to a variable (array)

u := eval(solve({x-y = -1, 2*x-y = 3}, {x, y}));

                                                                                {x = 4, y = 5}

v := u[1]+8;
                                                                                  x + 8 = 12
v^2;
                                        Error, (in simpl/reloprod) invalid terms in product:
When I try to allocate result of solve command to "u" variable, I want to u[1]: 4 but program allocate: u[1]: x=4

please  help me

Please Wait...