down pat
Learned, mastered, or understood perfectly, to the point of requiring little or no focus to do, recall, or accomplish. Make sure you practice these equations until you have them down pat. I always get my routine down pat so there won't be any room for error during the performance.