The total price of a shirt and a cap is $11. If the price of the shirt was doubled and the price of the cap was 3 times its original price, the total price of a shirt and a cap would be $25. What is the price of a shirt and a cap?