Greeting,
This is the solution from the Youtube video. I already read about Grouping operator but I still didn’t find what the last parentheses do (at the yellow arrow).
I recommend trying to build your own solution with our help. Reading code is a separate skill from writing code. Reading a solution doesn’t help write a solution