write the rule of the following 1. d=2 a=12 2. r=2 a=4​