Input (grade 12): The qiblah wall should, in a properly oriented mosque, be set perpendicular to a line leading to Mecca, the location of the Kaaba.
Output (grade 10): In a properly sited mosque, it will be set perpendicular to a line leading to Mecca.