Marta was about to start the school year and needed to buy the necessary textbooks. She managed to buy five on sale, for $10 each. She had to order two textbooks online, which cost her a total of $40, and three she bought directly from the bookstore for a total of three times the cost of the online ordered books. How much in total did Martha spend on textbooks?
Marta bought five textbooks on sale, for a total of 5 * 10 = $<<5*10=50>>50.
Three textbooks from the bookstore had a cost of 3 * 40 = $<<3*40=120>>120.
That means that Marta spent in total 50 + 40 + 120 = $<<50+40+120=210>>210 on textbooks.
#### 210
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
You are solving math problems. Here are some examples of how to solve the task:

James decides to bulk up.  He weighs 120 kg and gains 20% of his body weight in muscle and 1 quarter that much in fat.  How much does he weigh now?He gains 120*.2=<<120*.2=24>>24 kg in muscles
So he gains 24/4=<<24/4=6>>6 kg of fat
That means he gains a total of 24+6=<<24+6=30>>30 kg of bodyweight
So his new body weight is 120+30=<<120+30=150>>150 kg
#### 150[END]

Bob has a cube of silver that measures 3 inches on each side.  A cubic inch of silver weighs 6 ounces.  Each ounce of silver sells for $25.  He sells it for 110% of its silver value.  How much does he sell it for?The silver has a volume of 3*3*3=<<3*3*3=27>>27 cubic inches
So it weighs 27*6=<<27*6=162>>162 ounces
So its value is 162*25=$<<162*25=4050>>4050
That means he sold it for 4050*1.1=$<<4050*1.1=4455>>4455
#### 4455[END]

Now, solve this next question in the style of the above examples:

Marta was about to start the school year and needed to buy the necessary textbooks. She managed to buy five on sale, for $10 each. She had to order two textbooks online, which cost her a total of $40, and three she bought directly from the bookstore for a total of three times the cost of the online ordered books. How much in total did Martha spend on textbooks?

### Response:
Marta bought five textbooks on sale, for a total of 5 * 10 = $<<5*10=50>>50.
Three textbooks from the bookstore had a cost of 3 * 40 = $<<3*40=120>>120.
That means that Marta spent in total 50 + 40 + 120 = $<<50+40+120=210>>210 on textbooks.
#### 210