This data article contains eye-tracking data (i.e., dwell time and fixations), Z-transformed cognitive data (i.e., Raven's Advanced Progressive Matrices and Operation span), and practice and test scores from a study in mathematics education. This data is provided in a supplementary file. The method section describes the mathematics tasks used in the study. These mathematics tasks are of two kinds, with and without solution templates, to induce different types of mathematical reasoning.