I've forgotten. But if you remove your hat, you can check for yourself.
Literal
Forgot [feminine-わ]. But, hat [object-を] remove-if you yourself [by-で] can-confirm [feminine-わ].
わ is a sentence-final particle associated with feminine or refined speech — it softens assertions and adds a genteel tone. It appears twice here, reinforcing the speaker's characteristically feminine register. 取り除けば uses the ~ば conditional of 取り除く (to remove). あなた自身で (by yourself) uses で to mark means. The sentence has an old-fashioned, ladylike quality.