Answer :
Let the number of packages of caps be x and the number of packages of shirts be y, then
3x = 45 => x = 45/3 = 15
5y = 45 => y = 45 / 5 = 9
Therefore, the number of packages of caps is 15 and the number of packages of shirts is 9.
3x = 45 => x = 45/3 = 15
5y = 45 => y = 45 / 5 = 9
Therefore, the number of packages of caps is 15 and the number of packages of shirts is 9.