Can't tell what's wrong from photos, but it's a simple system. Hose goes from washer fluid reservoir to a spot under hood where it's split into two hoses, and goes to two nozzles.
Follow the hoses, replace what's broken or cut, or just disconnected.
These hoses are inexpensive, don't buy a $5 fitting to patch a section, when you can replace it all for $6-$10 worth of new hose.