This question was asked in Example 3
Find x matrix A 2B x=0

Gaurav Singh's image