Answer:
Law of Syllogism
Step-by-step explanation:
The scenario that is being described is an example of the Law of Syllogism. This law basically gives three statements the first causes the second (a=b), and the second causes the third (b=c), which therefore means that the first would cause the third (a=c). In this scenario, each part would have the following effect...
(a) get an A on the math test = (b) choose where to go for dinner
(b) choose where to go for dinner = (c) you can go to your favorite restaurant.
Therefore
(a) get an A on the math test = (c) you can go to your favorite restaurant.