Steel structure portal steel frame, two spans and four beams, beam 1 and beam 4 are HN298, beam 2 and beam 3 are HN350, is it reasonable?

Most of the column bases of portal steel frames are hinged. How can the roof ridge be a free end? If it is a cantilever beam, instead of being statically indeterminate, it becomes a variable mechanism! The cantilever beam statement is incorrect.

The bending moment of the splayed beam is the largest at the top of the column, so they are all members with variable (web height) cross-sections. Use the cross-section as high as you calculate. No more than a single span, the eight characters should be equal and symmetrical.