When to vent new half bathroom plumbing
What size is the red pipe?  The trick here is the weir.  If your sink p trap arm can be on the same horizontal plane as the red pipe then you can wet vent otherwise where the trap arm hooks into a vertical it needs a connection to the vent above that can not have a horizontal run until it rises above the flood plane of the sink.

Probably the toilet is fine.  The sink you'd need a vertical pipe running up and hooking into a non horizontal run of the main stack or an aav (if allowed in your area) or an independent vent.

Hope that makes sense without a diagram.