In a class, there are twice more boys than girls. Six boys leave the class and six girls arrive ;
therefore, there are twice more girls than boys .
How many boys and girls were there at first ?
please show calculations steps plus this should be solved as a system​