Solve the following equations: (a) 2(x+4)=12