The examples are combining string and number data types with and/or without variables. This is called concatenation.
The original, "old school," way is using + (plus). The latest way for the last few years is using backticks with ${variableName}.