There is no shorthand syntax for “Not Equals”. You can use method syntax for that. Also you need to use “=” to add static values.
[REPORT:1,1,1,1,1]
{REPORT ENTITY DETAILS:E.Name,EC.MemberType,="5",="31":(ET=Customers) && E.GetCustomData("MemberType") != "FM"}