Verified Answer :

3 apple costs $6
1 apple costs $
6/3
12 apple costs $6/3*12
                        =  $
24

so 12 apple costs $24