It is given in the question that
Asia and taryn each had the same amount of money. after asia spent $14 and taryn spent $22, the ratio of asia's money to taryn's money was 4 to 3.
Let , initially, they both have $x each .
So according to the given question ,

Cross multiplication

Therefore , initially, they both have $46 each .