Zoe spends 1/3 of her money at a store, then loaned 3⁄4 of what remained to a friend. If she still has $2, how much money did she have originally?