William Shakespeare wrote 37 plays, including tragedies, comedies , and histories. He wrote the same number of tragedies and histories, He wrote the same number of tragedies and histories , but the number of comedies he wrote is 3 less than twice the number of tragedies. Write the system of equation to find how many of each type of play did Shakespeare write.