I grow 32 tomatoes a year, it's enough for about 6ish people and I can about 24 jars and my grandma did 15ish last year.
Also growing cucumbers sucks, they always die from bugs or fungus. My dad called it and rosemary the black thumbs of gardening.
Plus where do you live? Things grow and produce food maybe 3 months before dieing, but if it's the end of the world, you need several years of crops and seeds and you haven't planned for that. Need raddishs, spinach and such. Plus once again are the tomatoes heirlooms? If not you only have one year of crop.