Please help me with this algorithm problem! (for cons inside)

 
Please help me with this algorithm problem! (for cons inside) - My, Help, Mathematics, Programming, Program

v20221217