How comes a TCP packet doesn't contains the source and destination IPs?

ip, tcp

Solution

TCP is typically run atop IP, and IP addresses are stored within the IP part of the packet that encapsulates the TCP part.

Problem

From here cisco says the TCP packets doesn't contains the source IP and destination IP? how the network layer knows tho thich IP send the packet and who has to get the ack back?

Original source