To solve this question we will use the following diagram:
From the above diagram we get:

Therefore:

Since each panel must be separated by 0.3m, we get that the number of panels that we can put in 21 meters is:

Answer: 19 panels will fit along the 21m side.