Answer:
$7
Explanation:
the first one: 5+2+10=17
second one: 4+7+12=23
23+17=40
brainiest is my answer lol