The figure shows the graph of a function f on [0,6], made of straight pieces. The triangle above the x-axis has the area 8 and the triangle below it has the area 3. A second function is defined by g(x)=2f(6−x)−1 for 0≤x≤6. What is the value of ∫06g(x)dx?