tina needs batteries. aa batteries cost $3 per pack. d batteries cost $4 per pacl. if she has $26 to spend and buys 3 times as many packs of aa batteries as d batteries, how many packs of each does she buy?