Analyzing relationships between points lines and planes given a figure