ram as well as shyam aer going market
it is a plural sentence threfore it does nnot support condition 6
The words joined to a singular subject by 'with', 'along with' and 'as well as' are considered to provide an additional information about the main subject. Hence, a singular verb is used in these cases.
Similarly, in the sentence:
Ram as well as Shyam are going to the market.
The main subject of the sentence is Ram and it is joined by 'as well as' which is providing us an additional information about who goes with Ram. Therefore, it should be followed by a singular verb. So, the correct sentence should be:
Ram as well as Shyam is going to the market.