I know that the total perimeter is 2h + 2r + πr = 1600, where π is pi ◄◄ This line is correct.
therefore, h=(1600-2h-2r)/2 ◄◄ This line is not correct.
You may not express h in terms of itself. Please try solving again the perimeter equation for h.
The total area then is equal to A = (πr2)/2 + (1600-2h-2r)/2 ◄◄ This line is not correct.
(Pi r^2)/2 is certainly the area of the semi-circular part, but why did you use the expression for what you thought was height for the area of the rectangular part?
The area of a rectangle is the product of its dimensions. The dimensions of the rectangular part are h and 2r.