Need an XL Algorithm example
I recommend to read book "Algebraic Cryptanalysis Book by Gregory Bard". it has a simple example of XL algorithm chapter 12 page 213 (12.4 The XL Algorithm). 

after that you can develop sage/magma code for capturing the concept very well.