V(dict/た) / N の とおりにとおりに — just as
Manner / asDo something exactly as (shown/said): 〜とおりに.
わたしが する とおりに、やってください。
Please do it exactly as I do.
とおりに follows a verb (dict or た-form) or a noun + の (説明の とおりに = as explained). It means doing exactly in that manner.