In a class there are 27 pupils. The number of girls is two times that of boys. Form an equation to represent this information.