Question: how to declare a local variable in arrow "->" function

At the end of this link - (2.14) and (2.15) - the problem and the solution have the same maple code, so I don't understand how to solve the problem.

https://www.maplesoft.com/support/help/Maple/view.aspx?path=isimplicitlydeclaredlocal

Please Wait...