Read excel with complex table format and extract key value pair

how the output should be can you elaborate