multiply n by n then multiply by 3