Dual wavelength (DW) lasers are crucial for producing petahertz (PHz) signals, which are higher value terahertz (THz) signals. The infrared and visible light sub-bands are valuable frequency range for a number of applications, including networking, multiple access techniques, next-generation mobile networks (6G), future wireless networks, and new PHz communication systems. The importune need to the high frequency signal such as THz and PHz signal for 5 and 6 next generation wireless cellular mobile networks motivate us to design an optical system to provide these signals rather than an electronic circuits. They are also beneficial for a variety of medical testing. The wavelength spacing ranging from 14 nm to 7 nm is proposed and demonstrated a dual-wavelength generation with FWM based on DML is realized at 1554 and 1548 nm. It is essential to make use of the fiber's non-linearity characteristics to ensure synchronization for continuous wave (CW) laser and directly modulated laser (DML) signals and the creation of the four wave mixing (FWM) components. With the help of OptiSystem version 14.0, the system is designed and investigated then, the desired THz signal is created as pulse amplitude modulation. The position of the FWM components within the frequency range between the spectrums of the two lasers affects the synthesis of the required signal. At the DML frequency equal to or below the CW Laser (1520 nm), neither FWM frequency components nor dual wavelength pulses exist. On the other hand, the FWM frequency components and dual wavelength pulses can only be seen when the DML frequency is greater than 1520 nm. The CW laser frequency is the main controlling factor in the generation THz signal. If the CW laser frequency is set at or below 1520 nm, the dual wavelength and THz signal are accessible. Because these frequencies are so far from the reference fiber frequency, it is impossible to produce dual wavelength pulses at frequencies higher than those mentioned above.