Answer:
cat = $30
dog = $45
Explanation:
write the equation, assume cat = c, dog = d1
2c + 3d = 195 -> eq 1
4c + d = 165 -> eq 2
rewrite eq 2 so that dog is in term of cat
d = 165 - 4c -> eq 3
replace eq 3 into eq 1
2c + 3(165-4c) = 195
2c + 495 - 12c = 195
2c - 12c = 195 - 495
-10c = -300
c = -300/-10 = 30
replace c in eq 3
d = 165 - 4(30) = 165 - 120 = 45