Let l, b, and h represent the length, breadth, and height of the tank respectively.
Then, we have height (h) = 2 m
Volume of the tank = 8m3
Volume of the tank = l × b × h

However, the length cannot be negative. Therefore, we have l = 4.

Cost of building the walls = Rs 2h (l + b) × 45 = Rs 90 (2) (2 + 2)
= Rs 8 (90) = Rs 720
Required total cost = Rs (280 + 720) = Rs 1000
Hence, the total cost of the tank will be Rs 1000.