Q1-Total number of squares of any size(side being natural nos.) in a rectangle of

Q2-In how many ways can 15 boys and 3 girls can sit in a row such that between the girls at most two boys sit?

all the persons are distinguishable and their order must be considred.