two, both, pair, couple, ounce
两 centers on the idea of two as a pair or a couple: both items together, or a unit of weight (ounce) that historically relates to a pair of something.
两 is the traditional form of 両, originally depicting a pair of yoked horses or a balanced scale. The modern form retains the idea of two equal parts.
The top line and the inner box with two short strokes look like a balanced scale holding two equal items: a pair, both, or a couple.
For リョウ, imagine a pair of lions (ライオン -> リョウ) standing side by side: the two lions cue リョウ and the pair meaning.