The degree of the extension Q(sqrt2,sqrt6) over Q(sqrt3) is either 1 or 2. If it is 1, then sqrt2 + sqrt6 can be written as a linear combination of 1 and sqrt3 with rational coefficients. However, a calculation shows the square of sqrt2 + sqrt6 contains a sqrt3 term, which implies the degree is 2. Therefore, the basis of Q(sqrt2,sqrt6) over Q(sqrt3) has 2 elements.