An examiner administers the Block Design subtest to an adolescent.
The adolescent struggles to replicate the more complex geometric patterns from the stimulus booklet using the red-and-white blocks, especially as the time limits for each item decrease.
This difficulty most likely indicates a weakness in which of the following cognitive abilities?