How to transform 2 similar functions in only one ?

Printable View