Couple of other points. The advice on your crack repair is all good so I will skip that as it has been covered.
1. This boat looks like it has been sitting for quite a while. There are a lot of other projects that will probably require more time and attention than the gash. Assess those as well. Concerns such as rigging, sails and motor as those are very expensive to replace...
2. I am guessing this is your first boat other than a dingy. As it is only 22 feet, pretty open and already pretty beat up I think it is an excellent learning platform for boat repair, restoration, etc.... At 22 feet all aspects are cheaper and even if you totally trash the boat by messing up the repairs you are not much further behind than where you started - unless you get hurt as a result
My advice? Consider this a learning boat. You will learn how to do fibreglass repair, cleanup, wiring, etc... and these skills will be extremely useful when looking to purchase and maintain other boats in your future. Consider this the education boat