How to blend more than 2 material functions?

Again, how did you blend three materials instead of two? One photo, please?