The function f(x) represents the amount charged by gardner A for x hours of work, and g(x) represents the amount charged by gardener B for x hours of wok.
x f(x) g(x)
2 100 220
4 200 280
6 300 340
8 400 400
10 500 460
For how many hours of work will the gardeners charge the same amount, and how much will they charge?