I have one query. All the Sutra's ( lotus Sutra, heart Sutra) belongs to which Tripitaka (first second or third)?
The Tripitaka is one and it is divided in three collections of texts (pitaka) and the first one contains the sutras (sutra pitaka).
The heart sutra and the lotus sutra are not in the Tripitaka though, they are part of the prajnaparamita sutras that is a different collection of sutras, studied in Mahāyāna Buddhism.
According to Wikipedia's Tripiṭaka article,
Tripiṭaka has become a term used for many schools' collections, although their general divisions do not match a strict division into three piṭakas.
The "three baskets" to not correspond to the Three Turnings of the Wheel of Dharma which is I think what the question is suggesting.
At least in the Wikipedia article, the different (versions of the) Tripiṭakas are referred to or named as "Pali", "Chinese", and "Tibetan".
The Lotus Sutra is not in the Pali Tripiṭaka -- apparently it was Indian originally, and translated into Chinese and Tibetan (and other languages).
And the Heart Sutra is apparently originally Chinese.
TL;DR: the Mahayana sutras like Heart Sutra, Lotus Sutra are not part of the Tripitaka.
For the Theravada school, the main scripture is the Pali Canon or the Tipitaka, in the Pali language.
Tipitaka or Tripitaka means the three baskets. The three are the Sutta Pitaka which is the basket on the teachings of the Buddha and his disciples, the Vinaya Pitaka which is the basket on the monastic rules, and the Abhidhamma Pitaka which is the basket of philosophical analysis.
The Mahayana Agamas are equivalent to the Pali suttas.
However, the Mahayana sutras like Heart Sutra, Lotus Sutra are not part of the Tripitaka.