public function getQuestionDataForGradingBasedOnDemography(Collection $questions, Collection $applicants): Collection 	{ 		$questionsCollection = collect();  		$applicantIds = $applicants->pluck('id');  		foreach ($questions as $question) { 			if (!$question) { 				return collect(); 			}  			$answersAverage = $question->answers->whereIn('applicant_id', $applicantIds)->avg('answer_value');  			$questionsCollection->push(collect( 				[ 					'title' => $question->getTranslation('title', $this->locale), 					'question_id' => $question->getKey(), 					'average' => number_format($answersAverage, 1), 				] 			)); 		}  		return $questionsCollection; 	}