Let the height of the building be 10 times the square root of 3 meters, and let the angles of depression be theta and 90 degrees minus theta since they are complementary. The horizontal distances from the building to points Q and P are found using basic trigonometry: distance to Q equals height divided by tan(theta), and distance to P equals height divided by tan(90 degrees minus theta), which is height multiplied by tan(theta). This gives the distance to Q as 10 * square root of 3 divided by tan(theta) and the distance to P as 10 * square root of 3 multiplied by tan(theta). Because P is farther than Q, the difference between their distances is the length of PQ, which is 20 meters. We write the equation 10 * square root of 3 * tan(theta) minus 10 * square root of 3 divided by tan(theta) equals 20. Dividing the entire equation by 10 gives square root of 3 * tan(theta) minus square root of 3 divided by tan(theta) equals 2. Letting tan(theta) equal 1 divided by the square root of 3 satisfies this equation, making the distance to P equal to 10 * square root of 3 multiplied by 1 divided by the square root of 3, which is exactly 30 meters.