The work to repair those cracks properly could well exceed the value of the bike when you take into account the time to dismantle the bike completely to make sure there is no other damage and that the frame is true and to the correct steering angle etc. Also the work required to weld the frame will destroy the VIN plate and possibly make any future sale difficult as the VIN number is the ID of the bike.
It may be cheap but my advice would be to walk away and find another one!!
It may be cheap but my advice would be to walk away and find another one!!