Basics of a Lambda expression

But I am not sure that the use of a lamba if the best way here
If you have only one lamp that put the function in the rule
If you have several then please see: