Two set squares, whose sides are 3,4, and 5 in., are placed so that their 4-in. sides and right angles…