I am searching for an algorithm of Givens Rotation method for solving a system of linear equations. The system has this form: we start from a random matrix and random vector, this was done on MAPLE.

I don't matter if you have a code written with a different language, I will convert it to Maple's language. I really appreciate any help you can provide.
Here I have a code written in MATLAB which performs the QR-decomposition of a square matrix $A$ using Givens-Rotations:
Now you can solve a linear system $Ax = b$ with the QR-decomposition with the following code:
since $$Ax = b \quad \Leftrightarrow \quad QRx = b \quad \Leftrightarrow \quad Rx = Q^Hb$$ and $R$ is upper triangular so elementary backwardsubstitution can be applied.