The answer to the problem is as follows:
Count all boys as one unit. Then there is one boy and 2 girls who can be permuted in 3! = 6 ways. Bout the 3 boys can permute among themselves in 3! = 6 ways.
6x6 = 36 ways in which all boys are together.
I hope my answer has come to your help. God bless and have a nice day ahead!